﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core_rt"  %>
<%@include file="/survey/include/head.jsp"%>
<script language="javascript" type="text/javascript" 
src="<%=request.getContextPath() %>/symanage/js/datepicker/WdatePicker.js"></script>
<body>
<div id="demo">
    <div id="mainbox">
        <div id="box">
<%@include file="/survey/include/top.jsp"%>

           <div class="right">
                <div class="banner"><img src="<%=request.getContextPath() %>/survey/images/about_banner.jpg" width="703" height="183" /></div>
             <div class="tj_news" style="float:left; width:80%;">
               <h1>后台添加问卷</h1>
               <div class="dd">
               <form method="post" action="<%=request.getContextPath() %>/symanage/baseinfo/addbase.htm">
                 <table width="254" border="0">
                   <tr>
                     <td width="66">问卷名称:</td>
       <td width="178"><label>
                       <input type="text" name="sy_name" id="textfield" />
                     </label></td>
                   </tr>
                   <tr>
                     <td>开始时间:</td>
                     <td><label>
                       <input type="text" id="d233" name="sy_startime"
                       onFocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"/>
                     </label></td>
                   </tr>
                   <tr>
                     <td>结束时间:</td>
                     <td><label>
                      <input type="text" id="d233" name="sy_endtime"
                       onFocus="WdatePicker({startDate:'%y-%M-01 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})"/>
                     </label></td>
                   </tr>
                   <tr>
                     <td>选择模板:</td>
                     <td><label>
                     <select type="text" name="sy_template" />
                     <c:if test="${!empty template}">
	                     <c:forEach items="${template}" var="item">
	                     <option value="${item.key }" >${item.value }</option> 
	                     </option>
	                     </c:forEach>
                     </c:if>
                     </select>
                     </label></td>
                   </tr>
                   <tr>
                     <td>
                     <input type="submit" name="submit1" value="确认">
                     </td>
                     <td> <input type="button" name="reset" value="返回" onclick="location.href='list.htm'"></td>
                   </tr>
                 </table>
               </form>
               </div>
                </div>
                <div class="clear"></div>
		</div>
            <div class="clear"></div>
            
<%@include file="/survey/include/bottom.jsp"%>
        </div>
    </div>
</div>
</body>
</html>